package com.yuntuzhilian.chapter4.demo3;

/**
 * @author MrWang-shuizhishuiheshui
 * @description
 */
public class MyThread implements Runnable {
    @Override
    public void run() {
        Thread thread = Thread.currentThread();
        for (int i = 0; i < 10; i++) {
            System.out.println(thread.getName()+"*******"+i);
        }
    }
}
